P+ - Meta Knight - Action - 0x39 CatchWait
Entry Script
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
- CreateInterrupt { interrupt_id: None, action: 0xf1, requirement: (BoolIsTrue RandomAccessBool(EnableActionTransition)) }
- PreviousInterruptAddRequirement((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc50)))
- CreateInterrupt { interrupt_id: None, action: 0xf1, requirement: (ButtonPress value(15)) }
- PreviousInterruptAddRequirement((LongtermAccessFloat (0x22) GreaterThan scalar(-0.5)))
- PreviousInterruptAddRequirement((LongtermAccessFloat (0x22) LessThan scalar(0.5)))
- PreviousInterruptAddRequirement((LongtermAccessFloat (0x23) GreaterThan scalar(0)))
- PreviousInterruptAddRequirement(OnGround)
- Subroutine(Offset { offset: 0xffffffff, origin: 0x1fa9c })
- InterruptAddRequirement { interrupt_type: Main, interrupt_id: 10102, test: not(ButtonTap) }
- CreateInterrupt { interrupt_id: Some(10102), action: 0xf1, requirement: ((InternalConstantInt(PreviousControlStickYAxis) LessThan InternalConstantInt (0xc50))) }
- PreviousInterruptAddRequirement((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc50)))
- PreviousInterruptAddRequirement(OnGround)
Exit Script (Common)
- if ((InternalConstantInt(CurrentAction) Equal scalar(60)))
- if (CurrentTriggeredStatusID value(10144))
- if ((InternalConstantInt(ControlStickXAxisAbsolute) GreaterThanOrEqual InternalConstantInt (0xc32)))
- if ((InternalConstantInt(ControlStickXAxisRelative) LessThan scalar(0)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 114 }
- else
- IntVariableSet { variable: RandomAccessInt (0x0), value: 115 }
- else
- if ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc56)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 116 }
- else
- if ((InternalConstantInt(ControlStickYAxis) LessThanOrEqual InternalConstantInt (0xc58)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 117 }
- else
- IntVariableSet { variable: RandomAccessInt (0x0), value: 115 }
- else
- if (CurrentTriggeredStatusID value(10101))
- if ((InternalConstantInt(ControlStickXAxisRelative) GreaterThan scalar(0)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 115 }
- else
- IntVariableSet { variable: RandomAccessInt (0x0), value: 114 }
- else
- if (CurrentTriggeredStatusID value(10102))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 116 }
- else
- IntVariableSet { variable: RandomAccessInt (0x0), value: 117 }